package cn.wolfcode.edu.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter@Setter
public class Schedule extends BaseDomain{

    private String subject;//学科名
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd ",timezone="GMT+8")
    private Date subDate;//课程日期

    private String remark;//备注

    private ClassGrade classgrade;//上课班级

    private Employee teacher;//上课教师

    private Classroom classroom;//上课教室

    private Employee coordinator;//班主任


}